<% provide(:title, @team.name) %>
<div class="row">
  <aside class="large-3 columns">
    <%= render 'teams/team_inf', team: @team %>
    <% if signed_in? && @team.leader?(current_user) && @invitations.any? %>
      <section>
	<%= render 'team_invitations' %>
      </section>
    <% end %>
    <% if signed_in? && @team.leader?(current_user) && @applies.any? %>
      <section>
	<%= render 'team_applies' %>
      </section>
    <% end %>
  </aside>
    <div class="large-9 columns">
      <%= render 'teams/team_duels', team: @team %>
    </div>
</div>
